﻿//===========================[ 8 / 22 / 2011 LVI ]=============================
//				Copyright c Vitaly Lyaschenko <SkyChameleon@gmail.com>
// 								Header file
// Purpose: 
//=============================================================================
#pragma once

#include "cSceneManager.h"

class SkyBox
{
public:
	SkyBox();
	~SkyBox();

	void init( cEffect *pEffect, bool buildFlag = false );
	void release();
	void draw();

private:
	void build();
	bool m_buildFlag;

	cRenderDevice *m_pRender;

	cMesh   *m_Model;
	cEffect  *m_pEffect;
	cTexture  *m_Texture;

	mat4 mtrModel;

	cVAO * m_VAO;
	cVBO * m_VBO_Pos,
		 * m_VBO_Normal,
		 * m_VBO_TexCoor,
		 * m_VBO_Indices;
};